package com.probox.common.entity.mapper.order;

import com.probox.common.entity.domain.order.OrderInfo;
import com.probox.common.entity.domain.order.OrderShipDeliver;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.probox.order.api.domain.OrderShipDeliverVo;

import java.util.List;

/**
 * 订单发货信息Mapper接口
 *
 * @author hds
 * @date 2021-06-07
 */
public interface OrderShipDeliverMapper extends BaseMapper<OrderShipDeliver> {
    /**
     * 根据ID获取发货信息
     * @param orderUid
     * @return
     */
    List<OrderShipDeliverVo> getByOrderUid(Long orderUid);

    OrderShipDeliverVo getNormalDeliver(OrderInfo orderInfo);
}
